<?php
require_once 'Zend/Db.php';

class DbManager
{
	
	private static $instance = null;
	
	static function getInstance() {
		if (!isset(self::$instance)) {
			self::$instance = new DbManager();
		}
		return self::$instance;
	}
	
	public function getConnection() {
		return Zend_Db::factory('Pdo_Mysql', array(
		    'host'     => '127.0.0.1',
		    'username' => 'root',
		    'password' => 'braco',
		    'dbname'   => 'braco'
		));   
	}
	
}